import { IWorkflowLog } from "./domain/IWorkflowLog";
import { WorkflowLog } from "./domain/models/workflowLog";
import { INodeLogService } from "./INodeLogService";

export class SqliteNodeLogService implements INodeLogService {
    async AddLog(log: IWorkflowLog) {
        const obj = new WorkflowLog(log);
        await obj.save();
    }
}